#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
//int main()
//{
//    int a, b, c;
//    scanf("%d %d %d", &a, &b, &c);
//    printf("score1=%d,score2=%d,score3=%d", a, b, c);
//    return 0;
//}
int main()
{
    int id;
    float c, math, eng;
    scanf("%d;%f,%f,%f", &id, &c, &math, &eng);
    printf("The each subject score of No. %d is %.2f, %.2f, %.2f.", id, c, math, eng);
    return 0;
}